.container.scalable {
  width: 100%;
  max-width: none;
}

/* Remove Undo
–––––––––––––––––––––––––––––––––––––––––––––––––– */
._dash-undo-redo {
  display: none;
}

body {
  background-color: #171b26;
  color: #9fa6b7;
  overflow-x: hidden;
}

.banner {
  height: 5rem;
  margin-bottom: 1rem;
  padding: 0rem 5rem 0rem;
  display: flex;
  flex-direction: row nowrap;
  align-items: center;
  justify-content: space-between;
}

.banner h6 {
  font-family: 'Open Sans', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.banner Img {
  position: relative;
  height: 2rem;
  width: auto;
}

#upper-container, #lower-container {
  margin: 2rem 5rem;
}

#upper-left, #geo-map-outer {
  padding: 1rem 2rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.control-row-1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#state-select-outer, #select-metric-outer {
  width: 45%;
}

#upper-left > div > label {
  font-weight: bold;
  margin: 20px 0px;
}

*.Select-control, Select--single, .Select-multi-value-wrapper, .Select-value, .Select-value-label {
  background-color: #171b26 !important;
  color: #7b7d8d !important;
}

.Select-control, .Select-menu-outer {
  border: 1px solid dimgrey !important;
}

span.Select-clear-zone {
  display: none !important;
}

.Select-menu-outer, .Select-menu-outer div, .Select--multi {
  background-color: #171b26 !important;
  color: #7b7d8d !important;
}

.Select-menu-outer div:hover {
  color: white !important;
  cursor: pointer;
}

#region-select-all, #state-select-outer > label, #select-metric-outer > label {
  margin-bottom: 2px;
  color: #7b7d8d;
}

.dash-spreadsheet-container .dash-spreadsheet-inner th, td {
  text-align: center !important;
  font-family: "Open Sans", sans-serif !important;
  border-top-color: #171b26 !important;
  border-bottom-color: #171b26 !important;
  border-left-color: #171b26 !important;
  border-right-color: #171b26 !important;
  font-size: 11px;
}


#table-upper > p, #table-lower > p {
  font-weight: bold;
  margin: 20px 0px;
}

#lower-container {
  border-top: 1px solid #1f2536;
  height: 800px;
  overflow-y: scroll;
  overflow-x: scroll;
}

#procedure-plot {
  height: 6000px;
  min-width: 1200px;
}

#geo-map-loading-outer {
  height: 60rem;
}

#geo-map {
  height: 55rem;
}

#procedure-plot {
  margin: -300px 0px -200px 0px;
}

#select-metric-outer, #region-select-outer {
  display: inline-block;
}

#cost-stats-table, #procedure-stats-table {
  overflow: scroll;
  height: 10rem;
}

.section-title, #map-title {
  font-size: 16px;
  font-weight: bold;
  display: block;
}

.mapboxgl-canvas,
.mapboxgl-map {
  min-width: 100%;
}

/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
  */

@media only screen and (max-width: 750px) {
  .control-row-1 {
    flex-direction: column;
  }

  #state-select-outer, #select-metric-outer {
    width: 100%;
  }
}

@media only screen and (max-width: 750px), (min-width: 768px) and (max-width: 1024px) {
  body {
    font-size: 14px;
  }

  .section-title, #map-title {
    font-size: 14px;
  }

  .banner {
    padding: 0rem 2rem;
  }

  .banner h6 {
    font-size: 1.5rem;
  }

  .banner img {
    height: 1.5rem;
  }

  #upper-container {
    margin: 1rem;
  }

  #upper-left > div > label {
    font-weight: normal;
    margin-bottom: 2px;
  }

  #upper-left, #geo-map-outer {
    width: 100%;
    margin-left: 0;
  }

  #lower-container {
    position: relative;
  }

  /* position procedure plot relative to outer div in mobile layout  */
  #procedure-plot {
    position: absolute;
  }

  g.yaxislayer-above > g > text {
    font-size: 10px !important;
  }

}

/*
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {

  #upper-left, #geo-map-outer {
    padding: 1rem 4rem;
  }

  #state-select-outer, #select-metric-outer {
    width: 45%;
  }

}